package cn.gok.code.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @ClassName Clazz
 * @Description TODO
 * @Author HP
 * @Date 16:02 2022/7/21
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("clazz")
public class Clazz {

    @TableId(value = "cid", type = IdType.AUTO)
    private Long cid;
    private String cname;
    @Version
    private Integer version;
    @TableLogic
    private Integer delted;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
